package org.oreilly.javaGoodParts.examples;

public abstract class Event {

	private final Team team;
	private final Player player;
	private final Position position;

	public Event(Team team, Player player, Position position) {
		this.team = team;
		this.player = player;
		this.position = position;
	}

	public Team getTeam() {
		return team;
	}

	public Player getPlayer() {
		return player;
	}

	public Position getPosition() {
		return position;
	}
}
